/* This program is free software. It comes without any warranty, to
 * the extent permitted by applicable law. You can redistribute it
 * and/or modify it under the terms of the Do What The Fuck You Want
 * To Public License, Version 2, as published by Sam Hocevar. See
 * http://sam.zoy.org/wtfpl/COPYING for more details. */ 
package de.rockon.fuzzy;

import javax.swing.UIManager;

import com.jgoodies.looks.LookUtils;
import com.jgoodies.looks.Options;

import de.rockon.fuzzy.controller.gui.MainFrame;
import de.rockon.fuzzy.controller.util.Logger;

/**
 * Unsere Super Applikation!
 * 
 * Kann alles was das Fuzzy-Herz begehrt
 */
public class FuzzyTool {
	/** FuzzyTool Versionsnummer */
	public final static String FUZZY_VERSION = "08/10/23 v1.18";

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		new FuzzyTool();
	}

	/**
	 * Hier wird unser Programm 'konstruktiert'.
	 */
	public FuzzyTool() {
		try {
			final String laf = LookUtils.IS_OS_WINDOWS_XP ? Options.getCrossPlatformLookAndFeelClassName() : Options
					.getSystemLookAndFeelClassName();

			UIManager.setLookAndFeel(laf);

		} catch (final Exception e) {
			System.err.println("Can't set look & feel:" + e);
		}
		Logger.info("Start Application: RockOn Fuzzy");
		new MainFrame();
	}
}